<template>
  <div style="margin-top: 100px;">
    <el-result icon="success">
      <template slot="title">
        <div  style="font-weight: bold; color: #222; margin-top: 20px;">产品已经成功放入仓库中</div>
      </template>
      <template slot="subTitle">
        <div style="color: #999; margin-top: 10px;">您可到“产品管理 > 产品中心 > 仓库</div>
      </template>
      <template slot="extra">
        <el-button type="primary" size="medium" @click="addProduct">继续新建产品</el-button>
      </template>
    </el-result>
  </div>
</template>

<script>
export default {
    data() {
        return {};
    },
    methods: {
        addProduct() {
            this.$emit('addProduct')
            // this.$router.push({ path: "/creatProduct" });
        }
    
    }
};
</script>

<style>
</style>